﻿using System;
using System.Runtime.Serialization;
using Informant.Contacts;

namespace Informant.Services.Models.Contacts
{
	[DataContract(Name = "Email")]
	public class Email : IEmail
	{
		/// <summary>
		/// Gets or sets the kind of the email.
		/// </summary>
		/// <value>The kind of the email.</value>
		[DataMember]
		public InformationKind Kind { get; set; }
		/// <summary>
		/// Gets or sets the address.
		/// </summary>
		/// <value>The address.</value>
		[DataMember]
		public String Address { get; set; }
	}
}
